﻿using System;
using System.Collections.Generic;
using System.Text;

class Taxiway : Surface {
    private String name;

    public Taxiway()
        : base() {

    }

    public String Name {
        set { this.name = value; }
    }

    public override String ToString() {
        String output = "{ Taxiway \n" +
                        "\t Name: " + this.name + "\n" +
                        "\t MaxWeight: " + this.maxWeight + "\n" +
                        "\t Width: " + this.width + "\n" +
                        "\t Nodes: \n";

        foreach(Node node in this.nodes) {
            output += "\t\t [" + node + "]\n";
        }

        output += "}";

        return output;
    }
}
